{template common/contentheader}
<div class="setcontent">
	<div class="settitle">
		<h3>{lang admin_user_star:admin}</h3>
	</div>
	<div class="alert alert-info mt10">
		<span class="label label-info">{lang info:admin}</span>
		{lang admin_user_star:admin}
	</div>
	<div class="setform">
		<table class="table table-striped">
        <thead>
          <tr>
            <th width="30">ID</th>
            <th width="40">{lang th_displayorder:admin}</th>
            <th width="50">Email</th>
            <th width="40">{lang th_nickname:admin}</th>
            <th width="40">{lang category_name:admin}</th>
            <th width="150">{lang description:admin}</th>
            <th width="60">{lang th_createtime:admin}</th>
            <th width="60">{lang operation:admin}</th>
          </tr> 
        </thead>
        <tbody> 
        {loop $stars $key $user}
			<tr>  
			<td>$user['user_id']</td>
			<td>$user['display_order']</td>
			<td>$user['email']</td>
			<td>$user['nickname']</td>
			<td>$user['category_name']</td>
			<td>$user['star_reason']</td>
			<td>{date $user['create_time']}</td>  
			<td><a href="{url admin/starusers?act=delete&starid=$user['star_id']}">{lang delete:admin}</a> 
			<a href="{url admin/starusers?act=edit&starid=$user['star_id']}">{lang edit:admin}</a></td>
          	</tr>
		{/loop}
          
        </tbody>
		</table>
		<div class="text_c">$pages</div>
	</div>
</div>
{template common/contentfooter}